package com.springdata.jpa.domain;

import org.springframework.data.jpa.domain.AbstractPersistable;

import javax.persistence.Entity;

/**
 * User: heihaier@xfuweng.com
 * Date: 2015/6/24
 * Time: 16:05
 */
@Entity
public class User extends AbstractPersistable<String> {

    private String userName;

    private int age;

    private int sex;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }
}
